Skip to content

docs: add a runnable chat room example - #184

Merged
electrohyun merged 2 commits into
mainfrom
docs/examples-chat-room
Aug 7, 2026
Merged

docs: add a runnable chat room example#184
electrohyun merged 2 commits into
mainfrom
docs/examples-chat-room

Conversation

@electrohyun

@electrohyun electrohyun commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

Adds examples/, outside the published package, with the minimal chat room from #113. One room, two clients, one broadcast, plus an example README saying what it demonstrates. examples/* joins the pnpm workspace so the example resolves smocket by workspace link, and pnpm example:chat-room builds and runs it in one command.

Verified from a clean clone: pnpm install --frozen-lockfile then pnpm example:chat-room prints the output the example README quotes, and it is stable across runs because both joins are acknowledged before anyone speaks.

The larger application example in #113 is not here. It is recovered from the dogfooding application, which does not exist yet, and so are the browser sandbox link and the scaffolding command that reach these files.

Related issue

Part of #113

Checklist

  • Tests added or updated
  • Behavior verified against real socket.io

@electrohyun electrohyun self-assigned this Aug 7, 2026
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@electrohyun, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 41 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7c97837f-ae70-4935-8b00-65cd6f00eaed

📥 Commits

Reviewing files that changed from the base of the PR and between ac3daf3 and 5963cb9.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
📒 Files selected for processing (7)
  • .github/workflows/ci.yml
  • README.md
  • examples/chat-room/README.md
  • examples/chat-room/index.js
  • examples/chat-room/package.json
  • package.json
  • pnpm-workspace.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 7, 2026
@electrohyun
electrohyun force-pushed the docs/examples-chat-room branch from cf67d20 to 5963cb9 Compare August 7, 2026 09:44
@electrohyun
electrohyun merged commit e651e58 into main Aug 7, 2026
14 checks passed
@electrohyun
electrohyun deleted the docs/examples-chat-room branch August 7, 2026 09:51
@electrohyun electrohyun added the 📏 m Pull request changes 50–199 lines label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation 📏 m Pull request changes 50–199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant